<ui:composition
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:nxu="http://nuxeo.org/nxweb/util"
  xmlns:nxd="http://nuxeo.org/nxweb/document">
<ui:remove>
  @deprecated since 5.8: use a "tabs" widget instead
</ui:remove>

<div class="tabsBar">
  <h:form>
    <nxu:dataList layout="unorderedList" var="tab" value="#{tabsActionsList}"
      itemStyleClass="#{nxu:test(webActions.currentTabId == tab.id, 'selected', '')}">
      <nxd:restDocumentLink document="#{currentDocument}" tab="#{tab.id}"
        accesskey="#{action.accessKey}">
        <h:outputText value="#{messages[tab.label]}" />
      </nxd:restDocumentLink>
    </nxu:dataList>
  </h:form>
</div>

</ui:composition>